package com.cg.javafxdemospring.entity;

import java.util.Date;
import java.util.StringJoiner;

/**
 * @author 陈刚
 * @ClassName TzfcPersonInfo
 * @Description //TODO
 * @create 2020-07-22 13:02
 */
public class TzfcPersonInfo {
    private String barcode;

    private String pno;

    private String pname;

    private String psex;

    private String page;

    private String pagetype;

    private Date birthday;

    private String ptype;

    private String departname;

    private String bedno;

    private String docname;

    private String diagnosis;

    private String stype;

    private String desccode;

    private String descr;

    private Date sampletime;

    private String remark;

    public String getBarcode() {
        return barcode;
    }

    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }

    public String getPno() {
        return pno;
    }

    public void setPno(String pno) {
        this.pno = pno;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public String getPsex() {
        return psex;
    }

    public void setPsex(String psex) {
        this.psex = psex;
    }

    public String getPage() {
        return page;
    }

    public void setPage(String page) {
        this.page = page;
    }

    public String getPagetype() {
        return pagetype;
    }

    public void setPagetype(String pagetype) {
        this.pagetype = pagetype;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getPtype() {
        return ptype;
    }

    public void setPtype(String ptype) {
        this.ptype = ptype;
    }

    public String getDepartname() {
        return departname;
    }

    public void setDepartname(String departname) {
        this.departname = departname;
    }

    public String getBedno() {
        return bedno;
    }

    public void setBedno(String bedno) {
        this.bedno = bedno;
    }

    public String getDocname() {
        return docname;
    }

    public void setDocname(String docname) {
        this.docname = docname;
    }

    public String getDiagnosis() {
        return diagnosis;
    }

    public void setDiagnosis(String diagnosis) {
        this.diagnosis = diagnosis;
    }

    public String getStype() {
        return stype;
    }

    public void setStype(String stype) {
        this.stype = stype;
    }

    public String getDesccode() {
        return desccode;
    }

    public void setDesccode(String desccode) {
        this.desccode = desccode;
    }

    public String getDescr() {
        return descr;
    }

    public void setDescr(String descr) {
        this.descr = descr;
    }

    public Date getSampletime() {
        return sampletime;
    }

    public void setSampletime(Date sampletime) {
        this.sampletime = sampletime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return new StringJoiner(", ", TzfcPersonInfo.class.getSimpleName() + "[", "]")
                .add("barcode='" + barcode + "'")
                .add("pno='" + pno + "'")
                .add("pmane='" + pname + "'")
                .add("psex='" + psex + "'")
                .add("page='" + page + "'")
                .add("pagetype='" + pagetype + "'")
                .add("birthday=" + birthday)
                .add("ptype='" + ptype + "'")
                .add("departname='" + departname + "'")
                .add("bedno='" + bedno + "'")
                .add("docname='" + docname + "'")
                .add("diagnosis='" + diagnosis + "'")
                .add("stype='" + stype + "'")
                .add("desccode='" + desccode + "'")
                .add("descr='" + descr + "'")
                .add("sampletime=" + sampletime)
                .add("remark='" + remark + "'")
                .toString();
    }
}
